const get = (url, data) => {
  return new Promise((resolve, reject) => {
    $.ajax({
      url,//url:url
      type: 'GET',
      data,
      success: (result) => {
        resolve(result);
      },
      error: (err) => {
        reject(err);
      }
    })
  })

}


const post = () => {

}

export {
  get,
  post
}

